package com.one.rope.mvp.web.common.dto.admin.company;

import com.fasterxml.jackson.annotation.JsonProperty;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

/**
 * @author Weijian.Liu
 * @desc 企业列表返回对象
 * @date 2020/2/20 12:22
 */
@Data
@ApiModel
public class AdminCompanyListItemVO {

  @ApiModelProperty(value = "公司id")
  private Long id;

  @ApiModelProperty(value = "公司名称")
  private String name;

  @ApiModelProperty(value = "项目数量")
  @JsonProperty("project_number")
  private int projectNumber;

  @ApiModelProperty(value = "招募岗位数量")
  @JsonProperty("partner_number")
  private int partnerNumber;

  @ApiModelProperty(value = "创建时间")
  @JsonProperty("create_time")
  private Date createTime;
}
